package com.huangliusong.security.core.validate.code;

import java.awt.image.BufferedImage;
import java.time.LocalDateTime;

public class ImageCode extends ValidateCode {
	private BufferedImage image;

	public ImageCode() {
	}

	public ImageCode(BufferedImage image, String code, int exepireIn) {
		super(code, exepireIn);
		this.image = image;
	}

	public ImageCode(BufferedImage image, String code, LocalDateTime exepireTime) {
		super(code, exepireTime);
		this.image = image;
	}

	public BufferedImage getImage() {
		return image;
	}

	public void setImage(BufferedImage image) {
		this.image = image;
	}

}
